home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
mac
/
hypercrd
/
hc1_2_x
/
golfnlys.sit
/
Golf Analyst 1.0
/
background_2652.txt
< prev
next >
Wrap
Text File
|
1989-11-06
|
41KB
|
1,630 lines
-- background: 2652 from stack: in.0
-- bmap block id: 3039
-- flags: 0000
-- background id: 0
-- name:
-- part 4 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=141 top=82 right=99 bottom=169
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PT1
-- part 5 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=181 top=82 right=99 bottom=209
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: SCORE1
-- part 7 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=141 top=102 right=119 bottom=169
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PT2
-- part 8 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=181 top=102 right=119 bottom=209
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: SCORE2
-- part 10 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=141 top=122 right=139 bottom=169
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PT3
-- part 11 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=181 top=122 right=139 bottom=209
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: SCORE3
-- part 13 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=141 top=142 right=159 bottom=169
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PT4
-- part 14 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=181 top=142 right=159 bottom=209
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: SCORE4
-- part 16 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=141 top=162 right=179 bottom=169
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PT5
-- part 17 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=181 top=162 right=179 bottom=209
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: SCORE5
-- part 19 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=141 top=182 right=199 bottom=169
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PT6
-- part 20 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=181 top=182 right=199 bottom=209
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: SCORE6
-- part 22 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=141 top=202 right=219 bottom=169
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PT7
-- part 23 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=181 top=202 right=219 bottom=209
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: SCORE7
-- part 25 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=141 top=222 right=239 bottom=169
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PT8
-- part 26 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=181 top=222 right=239 bottom=209
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: SCORE8
-- part 28 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=141 top=242 right=259 bottom=169
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PT9
-- part 29 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=181 top=242 right=259 bottom=209
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: SCORE9
-- part 31 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=340 top=82 right=99 bottom=368
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PT10
-- part 32 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=379 top=82 right=99 bottom=407
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: SCORE10
-- part 34 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=340 top=102 right=119 bottom=368
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PT11
-- part 35 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=379 top=102 right=119 bottom=407
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: SCORE11
-- part 37 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=340 top=122 right=139 bottom=368
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PT12
-- part 38 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=379 top=122 right=139 bottom=407
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: SCORE12
-- part 40 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=340 top=142 right=159 bottom=368
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PT13
-- part 41 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=379 top=142 right=159 bottom=407
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: SCORE13
-- part 43 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=340 top=162 right=179 bottom=368
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PT14
-- part 44 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=379 top=162 right=179 bottom=407
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: SCORE14
-- part 46 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=340 top=182 right=199 bottom=368
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PT15
-- part 47 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=379 top=182 right=199 bottom=407
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: SCORE15
-- part 49 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=340 top=202 right=219 bottom=368
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PT16
-- part 50 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=379 top=202 right=219 bottom=407
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: SCORE16
-- part 52 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=340 top=222 right=239 bottom=368
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PT17
-- part 53 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=379 top=222 right=239 bottom=407
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: SCORE17
-- part 55 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=340 top=242 right=259 bottom=368
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PT18
-- part 56 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=379 top=242 right=259 bottom=407
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: SCORE18
-- part 57 (field)
-- low flags: 00
-- high flags: 4000
-- rect: left=91 top=286 right=303 bottom=166
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Date
-- part 58 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=181 top=264 right=281 bottom=209
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: OUT
-- part 59 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=379 top=264 right=281 bottom=407
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: IN
-- part 60 (field)
-- low flags: 01
-- high flags: 4000
-- rect: left=91 top=302 right=319 bottom=136
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Total
-- part 61 (field)
-- low flags: 01
-- high flags: 4000
-- rect: left=248 top=310 right=324 bottom=288
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Greens
-- part 62 (field)
-- low flags: 01
-- high flags: 4000
-- rect: left=248 top=286 right=300 bottom=288
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Fairways
-- part 63 (field)
-- low flags: 01
-- high flags: 4000
-- rect: left=248 top=322 right=336 bottom=288
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Putts
-- part 64 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=387 top=25 right=51 bottom=414
-- title width / last selected line: 0
-- icon id / first selected line: 1013 / 1013
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Next
----- HyperTalk script -----
on mouseUp
Visual Effect scroll left
go to next card
end mouseUp
-- part 65 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=98 top=25 right=51 bottom=125
-- title width / last selected line: 0
-- icon id / first selected line: 1014 / 1014
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Previous
----- HyperTalk script -----
on mouseUp
visual effect scroll right
go to previous card
end mouseUp
-- part 66 (button)
-- low flags: 00
-- high flags: 8003
-- rect: left=306 top=313 right=329 bottom=406
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Calc Totals
----- HyperTalk script -----
on mouseUp
set Lockscreen to true
set the cursor to 4
put field "Score1" into holder
add field "Score2" to holder
add field "Score3" to holder
add field "Score4" to holder
add field "Score5" to holder
add field "Score6" to holder
add field "Score7" to holder
add field "Score8" to holder
add field "Score9" to holder
put holder into field "OUT"
put field "Score10" into holder
add field "Score11" to holder
add field "Score12" to holder
add field "Score13" to holder
add field "Score14" to holder
add field "Score15" to holder
add field "Score16" to holder
add field "Score17" to holder
add field "Score18" to holder
put holder into field "IN"
add field "OUT" to holder
put holder into field "TOTAL"
subtract 72 from holder
if holder > 0 then put "+" & holder into field "Over Par"
else put holder into field "Over Par"
put 0 into holder
if hilite of button "FWY1" is true then add 1 to holder
if hilite of button "FWY2" is true then add 1 to holder
if hilite of button "FWY3" is true then add 1 to holder
if hilite of button "FWY4" is true then add 1 to holder
if hilite of button "FWY5" is true then add 1 to holder
if hilite of button "FWY6" is true then add 1 to holder
if hilite of button "FWY7" is true then add 1 to holder
if hilite of button "FWY8" is true then add 1 to holder
if hilite of button "FWY9" is true then add 1 to holder
if hilite of button "FWY10" is true then add 1 to holder
if hilite of button "FWY11" is true then add 1 to holder
if hilite of button "FWY12" is true then add 1 to holder
if hilite of button "FWY13" is true then add 1 to holder
if hilite of button "FWY14" is true then add 1 to holder
if hilite of button "FWY15" is true then add 1 to holder
if hilite of button "FWY16" is true then add 1 to holder
if hilite of button "FWY17" is true then add 1 to holder
if hilite of button "FWY18" is true then add 1 to holder
divide holder by 18
multiply holder by 100
put round(holder) into field "Fairways"
put 0 into holder
put 0 into count
if hilite of button "SS1" is true then
add 1 to count
if field "Score1" = field "Par1" then add 1 to holder
end if
if hilite of button "SS2" is true then
add 1 to count
if field "Score2" = field "Par2" then add 1 to holder
end if
if hilite of button "SS3" is true then
add 1 to count
if field "Score3" = field "Par3" then add 1 to holder
end if
if hilite of button "SS4" is true then
add 1 to count
if field "Score4" = field "Par4" then add 1 to holder
end if
if hilite of button "SS5" is true then
add 1 to count
if field "Score5" = field "Par5" then add 1 to holder
end if
if hilite of button "SS6" is true then
add 1 to count
if field "Score6" = field "Par6" then add 1 to holder
end if
if hilite of button "SS7" is true then
add 1 to count
if field "Score7" = field "Par7" then add 1 to holder
end if
if hilite of button "SS8" is true then
add 1 to count
if field "Score8" = field "Par8" then add 1 to holder
end if
if hilite of button "SS9" is true then
add 1 to count
if field "Score9" = field "Par9" then add 1 to holder
end if
if hilite of button "SS10" is true then
add 1 to count
if field "Score10" = field "Par10" then add 1 to holder
end if
if hilite of button "SS1" is true then
add 1 to count
if field "Score1" = field "Par11" then add 1 to holder
end if
if hilite of button "SS1" is true then
add 1 to count
if field "Score11" = field "Par11" then add 1 to holder
end if
if hilite of button "SS12" is true then
add 1 to count
if field "Score12" = field "Par12" then add 1 to holder
end if
if hilite of button "SS13" is true then
add 1 to count
if field "Score13" = field "Par13" then add 1 to holder
end if
if hilite of button "SS14" is true then
add 1 to count
if field "Score14" = field "Par14" then add 1 to holder
end if
if hilite of button "SS15" is true then
add 1 to count
if field "Score15" = field "Par15" then add 1 to holder
end if
if hilite of button "SS16" is true then
add 1 to count
if field "Score16" = field "Par16" then add 1 to holder
end if
if hilite of button "SS17" is true then
add 1 to count
if field "Score17" = field "Par17" then add 1 to holder
end if
if hilite of button "SS18" is true then
add 1 to count
if field "Score18" = field "Par18" then add 1 to holder
end if
if count <> 0 then
divide holder by count
else
put 1 into holder
end if
multiply holder by 100
put round(holder) into field "Sand Saves"
put 0 into holder
if field "PT1" <= 2 then add 1 to holder
if field "PT2" <= 2 then add 1 to holder
if field "PT3" <= 2 then add 1 to holder
if field "PT4" <= 2 then add 1 to holder
if field "PT5" <= 2 then add 1 to holder
if field "PT6" <= 2 then add 1 to holder
if field "PT7" <= 2 then add 1 to holder
if field "PT8" <= 2 then add 1 to holder
if field "PT9" <= 2 then add 1 to holder
if field "PT10" <= 2 then add 1 to holder
if field "PT11" <= 2 then add 1 to holder
if field "PT12" <= 2 then add 1 to holder
if field "PT13" <= 2 then add 1 to holder
if field "PT14" <= 2 then add 1 to holder
if field "PT15" <= 2 then add 1 to holder
if field "PT16" <= 2 then add 1 to holder
if field "PT17" <= 2 then add 1 to holder
if field "PT18" <= 2 then add 1 to holder
divide holder by 18
multiply holder by 100
put round(holder) into field "Putts"
put 0 into Green
put field "Score1" into holder
subtract field "PT1" from holder
if holder <= 2 then add 1 to green
put field "Score2" into holder
subtract field "PT2" from holder
if holder <= 3 then add 1 to green
put field "Score3" into holder
subtract field "PT3" from holder
if holder <= 2 then add 1 to green
put field "Score4" into holder
subtract field "PT4" from holder
if holder <= 1 then add 1 to green
put field "Score5" into holder
subtract field "PT5" from holder
if holder <= 3 then add 1 to green
put field "Score6" into holder
subtract field "PT6" from holder
if holder <= 2 then add 1 to green
put field "Score7" into holder
subtract field "PT7" from holder
if holder <= 2 then add 1 to green
put field "Score8" into holder
subtract field "PT8" from holder
if holder <= 1 then add 1 to green
put field "Score9" into holder
subtract field "PT9" from holder
if holder <= 2 then add 1 to green
put field "Score10" into holder
subtract field "PT10" from holder
if holder <= 2 then add 1 to green
put field "Score11" into holder
subtract field "PT11" from holder
if holder <= 2 then add 1 to green
put field "Score12" into holder
subtract field "PT12" from holder
if holder <= 1 then add 1 to green
put field "Score13" into holder
subtract field "PT13" from holder
if holder <= 2 then add 1 to green
put field "Score14" into holder
subtract field "PT14" from holder
if holder <= 1 then add 1 to green
put field "Score15" into holder
subtract field "PT15" from holder
if holder <= 3 then add 1 to green
put field "Score16" into holder
subtract field "PT16" from holder
if holder <= 2 then add 1 to green
put field "Score17" into holder
subtract field "PT17" from holder
if holder <= 3 then add 1 to green
put field "Score18" into holder
subtract field "PT18" from holder
if holder <= 2 then add 1 to green
divide green by 18
multiply green by 100
put round(green) into field "Greens"
put 0 into field "Eagle"
put 0 into field "Birdie"
put 0 into field "PAR"
put 0 into field "BOGEY"
put 0 into field "Double Bogey"
put 0 into field "Others"
put field "Score1" into holder
subtract field "Par1" from holder
if holder < -1 then add 1 to field "Eagle"
else if holder < 0 then add 1 to field "Birdie"
else if holder < 1 then add 1 to field "PAR"
else if holder < 2 then add 1 to field "BOGEY"
else if holder < 3 then add 1 to field "DOUBLE BOGEY"
else add 1 to field "Others"
put field "Score2" into holder
subtract field "Par2" from holder
if holder < -1 then add 1 to field "Eagle"
else if holder < 0 then add 1 to field "Birdie"
else if holder < 1 then add 1 to field "PAR"
else if holder < 2 then add 1 to field "BOGEY"
else if holder < 3 then add 1 to field "DOUBLE BOGEY"
else add 1 to field "Others"
put field "Score3" into holder
subtract field "Par3" from holder
if holder < -1 then add 1 to field "Eagle"
else if holder < 0 then add 1 to field "Birdie"
else if holder < 1 then add 1 to field "PAR"
else if holder < 2 then add 1 to field "BOGEY"
else if holder < 3 then add 1 to field "DOUBLE BOGEY"
else add 1 to field "Others"
put field "Score4" into holder
subtract field "Par4" from holder
if holder < -1 then add 1 to field "Eagle"
else if holder < 0 then add 1 to field "Birdie"
else if holder < 1 then add 1 to field "PAR"
else if holder < 2 then add 1 to field "BOGEY"
else if holder < 3 then add 1 to field "DOUBLE BOGEY"
else add 1 to field "Others"
put field "Score5" into holder
subtract field "Par5" from holder
if holder < -1 then add 1 to field "Eagle"
else if holder < 0 then add 1 to field "Birdie"
else if holder < 1 then add 1 to field "PAR"
else if holder < 2 then add 1 to field "BOGEY"
else if holder < 3 then add 1 to field "DOUBLE BOGEY"
else add 1 to field "Others"
put field "Score6" into holder
subtract field "Par6" from holder
if holder < -1 then add 1 to field "Eagle"
else if holder < 0 then add 1 to field "Birdie"
else if holder < 1 then add 1 to field "PAR"
else if holder < 2 then add 1 to field "BOGEY"
else if holder < 3 then add 1 to field "DOUBLE BOGEY"
else add 1 to field "Others"
put field "Score7" into holder
subtract field "Par7" from holder
if holder < -1 then add 1 to field "Eagle"
else if holder < 0 then add 1 to field "Birdie"
else if holder < 1 then add 1 to field "PAR"
else if holder < 2 then add 1 to field "BOGEY"
else if holder < 3 then add 1 to field "DOUBLE BOGEY"
else add 1 to field "Others"
put field "Score8" into holder
subtract field "Par8" from holder
if holder < -1 then add 1 to field "Eagle"
else if holder < 0 then add 1 to field "Birdie"
else if holder < 1 then add 1 to field "PAR"
else if holder < 2 then add 1 to field "BOGEY"
else if holder < 3 then add 1 to field "DOUBLE BOGEY"
else add 1 to field "Others"
put field "Score9" into holder
subtract field "Par9" from holder
if holder < -1 then add 1 to field "Eagle"
else if holder < 0 then add 1 to field "Birdie"
else if holder < 1 then add 1 to field "PAR"
else if holder < 2 then add 1 to field "BOGEY"
else if holder < 3 then add 1 to field "DOUBLE BOGEY"
else add 1 to field "Others"
put field "Score10" into holder
subtract field "Par10" from holder
if holder < -1 then add 1 to field "Eagle"
else if holder < 0 then add 1 to field "Birdie"
else if holder < 1 then add 1 to field "PAR"
else if holder < 2 then add 1 to field "BOGEY"
else if holder < 3 then add 1 to field "DOUBLE BOGEY"
else add 1 to field "Others"
put field "Score11" into holder
subtract field "Par11" from holder
if holder < -1 then add 1 to field "Eagle"
else if holder < 0 then add 1 to field "Birdie"
else if holder < 1 then add 1 to field "PAR"
else if holder < 2 then add 1 to field "BOGEY"
else if holder < 3 then add 1 to field "DOUBLE BOGEY"
else add 1 to field "Others"
put field "Score12" into holder
subtract field "Par12" from holder
if holder < -1 then add 1 to field "Eagle"
else if holder < 0 then add 1 to field "Birdie"
else if holder < 1 then add 1 to field "PAR"
else if holder < 2 then add 1 to field "BOGEY"
else if holder < 3 then add 1 to field "DOUBLE BOGEY"
else add 1 to field "Others"
put field "Score13" into holder
subtract field "Par13" from holder
if holder < -1 then add 1 to field "Eagle"
else if holder < 0 then add 1 to field "Birdie"
else if holder < 1 then add 1 to field "PAR"
else if holder < 2 then add 1 to field "BOGEY"
else if holder < 3 then add 1 to field "DOUBLE BOGEY"
else add 1 to field "Others"
put field "Score14" into holder
subtract field "Par14" from holder
if holder < -1 then add 1 to field "Eagle"
else if holder < 0 then add 1 to field "Birdie"
else if holder < 1 then add 1 to field "PAR"
else if holder < 2 then add 1 to field "BOGEY"
else if holder < 3 then add 1 to field "DOUBLE BOGEY"
else add 1 to field "Others"
put field "Score15" into holder
subtract field "Par15" from holder
if holder < -1 then add 1 to field "Eagle"
else if holder < 0 then add 1 to field "Birdie"
else if holder < 1 then add 1 to field "PAR"
else if holder < 2 then add 1 to field "BOGEY"
else if holder < 3 then add 1 to field "DOUBLE BOGEY"
else add 1 to field "Others"
put field "Score16" into holder
subtract field "Par16" from holder
if holder < -1 then add 1 to field "Eagle"
else if holder < 0 then add 1 to field "Birdie"
else if holder < 1 then add 1 to field "PAR"
else if holder < 2 then add 1 to field "BOGEY"
else if holder < 3 then add 1 to field "DOUBLE BOGEY"
else add 1 to field "Others"
put field "Score17" into holder
subtract field "Par17" from holder
if holder < -1 then add 1 to field "Eagle"
else if holder < 0 then add 1 to field "Birdie"
else if holder < 1 then add 1 to field "PAR"
else if holder < 2 then add 1 to field "BOGEY"
else if holder < 3 then add 1 to field "DOUBLE BOGEY"
else add 1 to field "Others"
put field "Score18" into holder
subtract field "Par18" from holder
if holder < -1 then add 1 to field "Eagle"
else if holder < 0 then add 1 to field "Birdie"
else if holder < 1 then add 1 to field "PAR"
else if holder < 2 then add 1 to field "BOGEY"
else if holder < 3 then add 1 to field "DOUBLE BOGEY"
else add 1 to field "Others"
set Lockscreen to false
end mouseUp
-- part 68 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=26 top=26 right=50 bottom=61
-- title width / last selected line: 0
-- icon id / first selected line: 1011 / 1011
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: GO HOME
----- HyperTalk script -----
on mouseUp
go home
end mouseUp
-- part 69 (field)
-- low flags: 01
-- high flags: 4000
-- rect: left=91 top=318 right=335 bottom=131
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Over Par
-- part 71 (button)
-- low flags: 00
-- high flags: 8003
-- rect: left=305 top=291 right=308 bottom=406
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Add Score
----- HyperTalk script -----
on mouseUp
set Lockscreen to true
doMenu "Copy Card"
doMenu "Paste Card"
set hilite of button "Fwy1" to false
set hilite of button "Fwy2" to false
set hilite of button "Fwy3" to false
set hilite of button "Fwy4" to false
set hilite of button "Fwy5" to false
set hilite of button "Fwy6" to false
set hilite of button "Fwy7" to false
set hilite of button "Fwy8" to false
set hilite of button "Fwy9" to false
set hilite of button "Fwy10" to false
set hilite of button "Fwy11" to false
set hilite of button "Fwy12" to false
set hilite of button "Fwy13" to false
set hilite of button "Fwy14" to false
set hilite of button "Fwy15" to false
set hilite of button "Fwy16" to false
set hilite of button "Fwy17" to false
set hilite of button "Fwy18" to false
set hilite of button "SS1" to false
set hilite of button "SS2" to false
set hilite of button "SS3" to false
set hilite of button "SS4" to false
set hilite of button "SS5" to false
set hilite of button "SS6" to false
set hilite of button "SS7" to false
set hilite of button "SS8" to false
set hilite of button "SS9" to false
set hilite of button "SS10" to false
set hilite of button "SS11" to false
set hilite of button "SS12" to false
set hilite of button "SS13" to false
set hilite of button "SS14" to false
set hilite of button "SS15" to false
set hilite of button "SS16" to false
set hilite of button "SS17" to false
set hilite of button "SS18" to false
put empty into field "Score1"
put empty into field "Score2"
put empty into field "Score3"
put empty into field "Score4"
put empty into field "Score5"
put empty into field "Score6"
put empty into field "Score7"
put empty into field "Score8"
put empty into field "Score9"
put empty into field "Score10"
put empty into field "Score11"
put empty into field "Score12"
put empty into field "Score13"
put empty into field "Score14"
put empty into field "Score15"
put empty into field "Score16"
put empty into field "Score17"
put empty into field "Score18"
put empty into field "PT1"
put empty into field "PT2"
put empty into field "PT3"
put empty into field "PT4"
put empty into field "PT5"
put empty into field "PT6"
put empty into field "PT7"
put empty into field "PT8"
put empty into field "PT9"
put empty into field "PT10"
put empty into field "PT11"
put empty into field "PT12"
put empty into field "PT13"
put empty into field "PT14"
put empty into field "PT15"
put empty into field "PT16"
put empty into field "PT17"
put empty into field "PT18"
put empty into Field "IN"
put empty into Field "OUT"
put empty into Field "Total"
put empty into Field "Greens"
put empty into Field "Fairways"
put empty into Field "Sand Saves"
put empty into Field "Putts"
put empty into Field "Date"
put empty into Field "Over Par"
put empty into Field "Eagle"
put empty into Field "Birdie"
put empty into Field "Par"
put empty into Field "Bogey"
put empty into Field "Double Bogey"
put empty into Field "Others"
set Lockscreen to false
end mouseUp
-- part 72 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=440 top=21 right=51 bottom=490
-- title width / last selected line: 0
-- icon id / first selected line: 2507 / 2507
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Help
----- HyperTalk script -----
on mouseUp
set visible of card field "Help Screen" to true
end mouseUp
-- part 75 (field)
-- low flags: 01
-- high flags: 4000
-- rect: left=440 top=133 right=150 bottom=464
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Eagle
-- part 77 (field)
-- low flags: 01
-- high flags: 4000
-- rect: left=440 top=171 right=188 bottom=464
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Birdie
-- part 78 (field)
-- low flags: 01
-- high flags: 4000
-- rect: left=440 top=208 right=225 bottom=464
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Par
-- part 79 (field)
-- low flags: 01
-- high flags: 4000
-- rect: left=440 top=245 right=262 bottom=464
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Bogey
-- part 80 (field)
-- low flags: 01
-- high flags: 4000
-- rect: left=440 top=284 right=301 bottom=464
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Double Bogey
-- part 81 (field)
-- low flags: 01
-- high flags: 4000
-- rect: left=440 top=320 right=337 bottom=464
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Others
-- part 83 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=142 top=23 right=49 bottom=371
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 20
-- style flags: 0
-- line height: 26
-- part name: Course Name
-- part 84 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=70 top=82 right=99 bottom=98
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PAR1
-- part 85 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=70 top=102 right=119 bottom=98
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PAR2
-- part 86 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=70 top=122 right=139 bottom=98
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PAR3
-- part 87 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=70 top=142 right=159 bottom=98
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PAR4
-- part 88 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=70 top=162 right=179 bottom=98
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PAR5
-- part 89 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=70 top=182 right=199 bottom=98
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PAR6
-- part 90 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=70 top=202 right=219 bottom=98
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PAR7
-- part 91 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=70 top=222 right=239 bottom=98
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PAR8
-- part 92 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=70 top=242 right=259 bottom=98
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PAR9
-- part 93 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=269 top=82 right=99 bottom=297
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PAR10
-- part 94 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=269 top=102 right=119 bottom=297
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PAR11
-- part 95 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=269 top=122 right=139 bottom=297
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PAR12
-- part 96 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=269 top=142 right=159 bottom=297
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PAR13
-- part 97 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=269 top=162 right=179 bottom=297
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PAR14
-- part 98 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=269 top=182 right=199 bottom=297
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PAR15
-- part 99 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=269 top=202 right=219 bottom=297
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PAR16
-- part 100 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=269 top=222 right=239 bottom=297
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PAR17
-- part 101 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=269 top=242 right=259 bottom=297
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: PAR18
-- part 162 (field)
-- low flags: 01
-- high flags: 4000
-- rect: left=248 top=298 right=312 bottom=288
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Sand Saves
-- part 163 (field)
-- low flags: 00
-- high flags: 4000
-- rect: left=431 top=92 right=109 bottom=473
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Rating
-- part 165 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=67 top=25 right=51 bottom=94
-- title width / last selected line: 0
-- icon id / first selected line: 30557 / 30557
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: First
----- HyperTalk script -----
on mouseUp
visual effect iris close
go to card 1
end mouseUp